home *** CD-ROM | disk | FTP | other *** search
/ Safarir 3 / SafTV-CD3.iso / pc / Bonus / Dessins Animés / static / jeux / bowling.swf / scripts / DefineButton2_30 / BUTTONCONDACTION on(release).as
Text File  |  2002-03-17  |  398b  |  26 lines

  1. on(release){
  2.    nextFrame();
  3.    co_zamknac = "MDL_rej";
  4.    tellTarget("/OKNO")
  5.    {
  6.       gotoAndStop("otworz");
  7.       play();
  8.    }
  9.    if("0" < ZDpunkty)
  10.    {
  11.       tellTarget("/MDL_rej")
  12.       {
  13.          gotoAndStop("otworz");
  14.          play();
  15.       }
  16.    }
  17.    else
  18.    {
  19.       tellTarget("/MDL_rej")
  20.       {
  21.          gotoAndStop("otworz2");
  22.          play();
  23.       }
  24.    }
  25. }
  26.